<?php
namespace ProjetA\GroupeBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class TagType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('name');
    }

    public function getDefaultOptions(array $options)
    {
        return array(
            'data_class' =>'ProjetA\GroupeBundle\Entity\Tag',
        );
    }

    public function getName()
    {
        return 'form_tag';
    }
}
?>
